package org.lhh.server.config.init;

import org.lhh.server.common.utils.PropertiesUtil;
import org.lhh.server.core.repository.EtlRepository;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Component;

@Component
public class InitConfig implements InitializingBean {
    @Override
    public void afterPropertiesSet() throws Exception {
        PropertiesUtil.init();
        EtlRepository.init();
    }
}
